<script setup>
    import { useRouter } from "vue-router";
    const router=useRouter()
    const onClickLeft = ()=>{
        router.go(-1)
    }
</script>

<template>
    <div>
        <van-nav-bar title="我的学习卡" left-arrow @click-left="onClickLeft" />
        <van-cell-group inset>
            <van-field v-model="value" label="卡" placeholder="请输入卡号" />
        </van-cell-group>
        <van-cell-group inset>
            <van-field v-model="value" label="密" placeholder="请输入密码" />
        </van-cell-group>
        <button class="btn">立即兑换</button>
    </div>
</template>

<style scoped>
.dv1 {
    text-align: center;
}

.img1 {
    width: 150px;
}

.p {
    font-size: 26px;
}
.btn{
    width: 90%;
    height: 80px;
    border-radius: 10px;
    background-color: #f15a24;
    color: #fff;
    border: none;
    margin-top: 200px;
}
</style>
